package com.qingcheng.service.order;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.order.Order;
import com.qingcheng.pojo.order.Orders;
import com.qingcheng.pojo.order.ReturnOrder;

import java.util.*;

/**
 * order业务逻辑层
 */
public interface OrderService {


    public List<Order> findAll();


    public PageResult<Order> findPage(int page, int size);


    public List<Order> findList(Map<String, Object> searchMap);


    public PageResult<Order> findPage(Map<String, Object> searchMap, int page, int size);


    public Order findById(String id);

    public void add(Order order);


    public void update(Order order);


    public void delete(String id);

    public Orders findAllOrdersById(String id);

    public List<Order> handIngMany(String[] ids);

    public void sendOrders(List<Order> orderList);

    public void normalOrder();

    public void seckillOrder();

    public void sendOvertime();

    public void finishOrder();

    public void reputation();

    public void consolidate(String order1,String order2);

    public void split(String id,Integer number);
}
